<!-- 热点资讯 -->
<template>
	<web-view v-if="show" :src="this.url" :update-title="false"></web-view>
</template>

<script>
export default {
	data() {
		return {
			show: true,
			url: ''
		};
	},
	onLoad: function (optione) {
		this.url = optione.url;
	},
	onShow() {
		// 设置导航栏颜色
		uni.setNavigationBarColor({
			frontColor: '#ffffff',
			backgroundColor: this.$store.state.presentColor
		});
	}
};
</script>

<style></style>
